<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<html>
<head>
<title>上机考试系统</title>
<style type="text/css">
* {
	padding: 0;
	margin: 0;
}
/* 清除浏览器自带边距*/
.header_title {
	height: 200px;
	width: 1000px;
	margin: 0 auto;
	color: green;
	border-bottom: 2px solid purple;
}

.table1 {
	margin: 10px auto;
	padding: 30px;
	font-size: 20px;
	background-color: papayawhip;
}

.shenfen {
	width: 100px;
	height: 40px;
}

.xuehao {
	width: 200px;
	height: 40px;
}

.mima {
	width: 200px;
	height: 40px;
	margin-top: 10px;
}

.denglu {
	width: 100%;
	height: 40px;
	background-color: aquamarine;
	font-size: 30px;
	margin-top: 10px;
}

.tip1 {
	font-size: 20px;
	color: crimson;
	margin: 0 auto;
	border-bottom: 2px solid purple;
}
</style>
</head>
<body>
	<div class="header_title">
		<p style="font-size: 80px" align="center">上机考试系统</p>
	</div>
	<div class="tip1" align="center">提示：账号为学号或工号，密码为身份证号后六位!</div>
	<div id="login">
		<form action="LoginServlet" method="post">
			<table class="table1">
				<tr>
					<td>请选择您的身份： <select class="shenfen" name="identity">
							<option value="student">学生</option>
							<option value="teacher">教师</option>
							<option value="admin">管理员</option>
					</select></td>
				<tr>
					<td>帐号：<input class="xuehao" type="text" name="studentNumber"></td>
				</tr>
				<tr>
					<td>密码：<input class="mima" type="password" name="password"></td>
				</tr>
				<tr>
					<td><input class="denglu" type="submit" value="登   录"></td>
				</tr>
			</table>

		</form>
	</div>
	<script>
    $(document).ready(function (e) {
        var counter = 0;
        if (window.history && window.history.pushState) {
            $(window).on('popstate', function () {
                window.history.pushState('forward', null, '#');
                window.history.forward(1);
                // alert("不可回退");  //如果需在弹框就有它
                self.location="orderinfo.html"; //如查需要跳转页面就用它
            });
        }
 
        window.history.pushState('forward', null, '#'); //在IE中必须得有这两行
        window.history.forward(1);
    });
</script>
</body>

</html>
